package com.zhibang.sinocare.dict.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhibang.sinocare.common.domian.MedicalReport;
import com.zhibang.sinocare.common.domian.vo.MedicalReportVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MedicalReportMapper extends BaseMapper<MedicalReport> {


    /**
     * 分页查询
     * @param medicalReport
     * @return
     */
    List<MedicalReport> queryBy(MedicalReport medicalReport);

    /**
     * 添加和修改
     * @param medicalReportVo
     * @return
     */
    int addOnUpdate(MedicalReportVo medicalReportVo);


}
